package com.zhentao.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.zhentao.model.banner.dto.BannerDto;
import com.zhentao.model.banner.pojo.AdBanner;
import com.zhentao.model.common.dtos.ResponseResult;
import io.minio.errors.*;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;

/**
* @author 许文倩
* @description 针对表【ad_banner】的数据库操作Service
* @createDate 2024-07-01 09:52:07
*/
public interface AdBannerService extends IService<AdBanner> {


    /*
     * 查询所有图片数据方法(只查询状态为1)
     * */
    ResponseResult findAll(BannerDto dto);

    /*
     * 图片上传方法
     * */
    ResponseResult uploadPicture(AdBanner banner);

    ResponseResult deleteByid(int id);

    ResponseResult findUpAll();
}
